<?php /* @var $this Controller */ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<meta name="description" content="杭州盛睿德纺织有公司，是一家专业织造和销售各类针织布，提花布，绒布等床垫面料！" />
	<meta name="keywords" content="纺织品,纺织公司,纺织生产,针织布,提花布,绒布,床垫面料,专业织造,纺织品生产,盛睿德,杭州盛睿德,浙江盛睿德" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/tyth.css"/>
	<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/css/swiper.min.css" />
	<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.11.3.min.js"></script>
	<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo Yii::app()->request->baseUrl; ?>/js/tyth.js" type="text/javascript" charset="utf-8"></script>

</head>
<body>
<div class="top-box">
	<ul class="body-auto top-info">
		<li>
			<div class="right">
				<p class="t_r top-yy col-999">
					<a href="<?php echo Yii::app()->request->baseUrl; ?>/site/index?lang=cn">中文</a> |
					<a href="<?php echo Yii::app()->request->baseUrl; ?>/site/index?lang=en">ENGLISH</a>
				</p>
				<p class="top-search" onclick="suo_key()">
					<input type="text" name="keyword" id="keyword"  onkeydown="keyDown(event)" />
					<button type="button"></button>
				</p>
			</div>
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/site/index"><img src="<?php echo Yii::app()->request->baseUrl; ?>/img/logo.jpg"></a>
		</li>
		<?php //$this->Widget('application.components.DemoWidget'); ?><!--路径：protected\components\views\DomeWidge.php -->
		<?php $lang=$this->getLang();
		if($lang=='en'){?>
			<li class="nav f_16">
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/site/index">Home</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/aboutUs/index">About Us</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/news/index">News</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/product/index">Product List </a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/service/index">Service</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/message/index">Message</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/contactUs/index">Contact Us</a>
			</li>
		<?php }else{ ?>
			<li class="nav f_16">
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/site/index">网站首页</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/aboutUs/index">关于我们</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/news/index">新闻资讯</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/product/index">产品中心</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/service/index">服务中心</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/message/index">在线留言</a>
				<a href="<?php echo Yii::app()->request->baseUrl; ?>/contactUs/index">联系我们</a>
			</li>
		<?php }?>
	</ul>
</div>
<?php echo $content; ?>
<div class="footer-box">
	<ul class="body-auto  t_c">
		<li class="mb-30"><img src="<?php echo Yii::app()->request->baseUrl; ?>/img/foot-font.jpg"></li>
		<li class="foot-link">
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/about" class="foot-tb1">公司简介/ABOUT US</a>
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/message" class="foot-tb2">在线留言/MESSAGE</a>
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/contact" class="foot-tb3">联系我们/CONTACT</a>
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/service" class="foot-tb4">服务中心/SERVICE</a>
			<a href="<?php echo Yii::app()->request->baseUrl; ?>/about" class="foot-tb5">企业文化/CULTURE</a>
		</li>
	</ul>
	<p class="foot-copy t_c"> © 浙ICP备13016162号 公安机关备案号-33010902000110      浙江盛睿德纺织有限公司  </p>
</div>
<script type="text/javascript">
	function suo_key(){
		var key=$('#keyword').val();
		if(key){
			location.href=<?php echo Yii::app()->baseUrl; ?>'/product/list?key='+key;
		}
	}
	function keyDown(e) {
		var ev= window.event||e;
		if (ev.keyCode == 13) {
			suo_key()
		}
	}
</script>
</body>
</html>


